"""django_test URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from django.views.static import serve
from zapp.views import *
from zapp.user import *
from zapp.order import *
from zapp.action import *
from zapp.regions import *

urlpatterns = [
    path('regions_deal/', RegionsDeal.as_view()),
    # 模拟部分
    path('check_order/', CheckOrder.as_view()),
    path('receive/', Receive.as_view()),
    path('place/', Place.as_view()),

    # 订单部分
    path('region_order_search/', RegionOrderSearch.as_view()),
    path('region_option/', RegionOption.as_view()),
    path('path/', PathAdmin.as_view()),
    path('order/', OrderAdmin.as_view()),
    path('equipment/', EquipmentAdmin.as_view()),
    path('custom/', CustomAdmin.as_view()),
    path('type/', TypeAdmin.as_view()),
    #
    # path('admin/', admin.site.urls),
    path('reg/', Reg.as_view()),
    path('login/', Login.as_view()),
    path('test/', TestFunc.as_view()),
    path('office/', OfficeAdmin.as_view()),
    path('user/', UserAdmin.as_view()),
    path('uptoken/', QiNiu.as_view()),
    path('right_judge/', RightJudge.as_view()),
    path('character/', CharacterAdmin.as_view()),
    path('right/', RightAdmin.as_view()),
    path('character_right/', CharacterRightAdmin.as_view()),
    path('user_character/', UserCharacterAdmin.as_view()),
]
